
// CircuitObj.h : main header file for the CircuitObj application
//
#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"       // main symbols
#include "CTDriver.h"
#include "HDB.h"


// CCircuitObjApp:
// See CircuitObj.cpp for the implementation of this class
//

class CCircuitObjApp : public CWinAppEx
{
protected:
	HDB*	m_pHoopsDB;		/*! Pointer to the HOOPS/MVO HDB object associated with this instance of the application */
	CTDriver *m_pCTDriver;	// Pointer to the CTDriver timer service class

public:
	CCircuitObjApp();

// Overrides
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

// Implementation
	COleTemplateServer m_server;
		// Server object for document creation
	UINT  m_nAppLook;
	BOOL  m_bHiColorIcons;

	virtual void PreLoadState();
	virtual void LoadCustomState();
	virtual void SaveCustomState();

	afx_msg void OnAppAbout();
	DECLARE_MESSAGE_MAP()
};

extern CCircuitObjApp theApp;
